package com.lehecai.core.search.converter;

import net.sf.json.JSONArray;

/**
 * 搜索服务实体属性的对应双向转换器
 * User: sunshow
 * Date: 13-4-11
 * Time: 上午9:27
 */
public interface ISearchEntityPropertyConverter {

    public Object getFromJSON(JSONArray jsonArray, int index) throws Exception;

    public Object convertFromSearch(Object property) throws Exception;

    public Object convertToSearch(Object property) throws Exception;
}
